package com.qipay.pay;

import com.qipay.baas.model.Order;
import com.qipay.pay.entity.CpPayWeiXinMpPayRequest;
import com.qipay.security.jwt.JWTUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

public interface WeiXinMpPayService {
    @Transactional
    Order jspayCreateOrder(CpPayWeiXinMpPayRequest entity,
                           JWTUser loggedUser) throws Exception;

    @Transactional
    Map<String, Object> jspay(Long orderId, String openId) throws Exception;
}
